package com.woniuxy.service;

import java.util.List;

import com.woniuxy.entity.Warehouse;

public interface WarehouseService {
	//查询所有仓库
	public List<Warehouse> findAllWarehouse();

	//根据状态查询仓库
	public List<Warehouse> findWarehouseByStatus(int status);
	//根据关键字模糊搜索
	public List<Warehouse>findWarehouseByWords(String words);
	//新增角色
	public int insertWarehouse(Warehouse warehouse);
	//删除
	public int delByWid(int wid);
}
